package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportUserCardDTO;
import com.hunttown.mes.rpc.domain.query.TransportUserCardDTOQuery;

/**
 * created by wangjunfu on 2019-07-06 10:58:59
 */
public interface TransportUserCardRpcService {

    TransportUserCardDTO insert(TransportUserCardDTO transportUserCardDTO);

    Boolean updateInfoById(TransportUserCardDTO transportUserCardDTO);

    Boolean updateInfoByQuery(TransportUserCardDTOQuery transportUserCardDTOQuery);

    TransportUserCardDTO selectById(Integer id);

    TransportUserCardDTO selectObjByQuery(TransportUserCardDTOQuery transportUserCardDTOQuery);

    Page<TransportUserCardDTO> getListForPage(TransportUserCardDTOQuery transportUserCardDTOQuery);

    Boolean deleteById(Integer id);
}